'Declaration Protected Shared Function ParsePercent( _ ByVal text As String, _ ByVal cultureInfo As IFormatProvider _ ) As Decimal
'Usage Dim text As String Dim cultureInfo As IFormatProvider Dim value As Decimal value = NumericUpDown(Of T).ParsePercent(text, cultureInfo)
protected static decimal ParsePercent( string text, IFormatProvider cultureInfo )
Parameters
- text
- The string representation of the number to convert.
- cultureInfo
- An IFormatProvider that supplies culture-specific parsing information about text.
Return Value
The equivalent of text as a decimal value.